<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Aplicar Vacinas</title>
</head>
<body>
	<c:import url="cabecalho.jsp"/>
	<div>
		<form action="criancas" method="post">
			<fieldset>
				<legend>Vacinas</legend>
				<input type="hidden" name="action" value="registrar_vacina" >
				<input type="hidden" name="crianca" value="${crianca}">				
				<c:forEach items="${listagem_vacinas}" var="vacina">
					<p><input type="checkbox" name="vacinas" value="${vacina.codigo}"/><c:out value="${vacina.nome}"></c:out></p> 
				</c:forEach>
				<p><input type="submit" value="Registrar"></p>
			</fieldset>
		</form>
	</div>
</body>
</html>